

app.controller 'WeixinSubscribeController', ['$scope'
	,($scope)->
]

app.config ['$routeProvider', ($routeProvider)->
	$routeProvider.when '/weixin',
		redirectTo: '/weixin/subscribe'

	$routeProvider.when '/weixin/subscribe',
		controller: 'WeixinSubscribeController'
		templateUrl: '/admin/tmpl/weixin_subscribe'

	$routeProvider.when '/weixin/subscribe',
		controller: 'WeixinSubscribeController'
		templateUrl: '/admin/tmpl/weixin_subscribe'

	$routeProvider.when '/weixin/auto',
		controller: 'WeixinAutoController'
		templateUrl: '/admin/tmpl/weixin_auto'

	$routeProvider.when '/weixin/keyword',
		controller: 'WeixinKeywordController'
		templateUrl: '/admin/tmpl/weixin_keyword'

]